home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 October
/
PCWorld_1999-10_cd1.bin
/
Software
/
Servis
/
X-setup
/
_SETUP.1
/
XQ WinNT File System 1.xpl
< prev
next >
Wrap
Text File
|
1999-06-14
|
2KB
|
67 lines
"FILE"="Xteq Systems X-Setup Plugin 3.1"
"TYPE"="6"
"COUNT"="2"
"UIPATH"="System\File System\Options"
"NAME"="Windows NT Options"
"LANGUAGE"="VBScript"
"TEXT 1"="Enable update of "Last Access" attribute"
"TEXT 2"="Clear pagefile (swapfile) on shutdown"
"DESCRIPTION 1"="By default, Windows NT updates the attribute "Last Access at" each time you access a file."
"DESCRIPTION 2"="If you don't need this feature, you can disable it here to save time."
"DESCRIPTION 3"="Disabling this feature is useful if this machine is used as a fileserver and should be as fast as possible."
"DESCRIPTION 4"=""
"DESCRIPTION 5"="By default, the Windows NT pagefile (for temp. memory) is left intact on shutdown, and could be scanned for useful information."
"DESCRIPTION 6"="By enabling this option, the pagefile is cleared on shutdown by Windows NT so it can't be scanned."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
"COMMENT 2"="Version 1.1"
sP="HKLM\System\CurrentControlSet\Control\FileSystem\NtfsDisableLastAccessUpdate"
sP2="HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\ClearPageFileAtShutdown"
Sub Plugin_Initialize
if GetWinVer=2 then
i=RegReadValue(sP)
if IsEmpty(i) or i=0 then
SetUIElement 1,true
end if
i=RegReadValue(sP2)
if i=1 then
Call SetUIElement(2,true)
end if
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue(sp,0,2)
else
Call RegWriteValue(sp,1,2)
end if
b=GetUIElement(2)
if b=true then
Call RegWriteValue(sP2,1,2)
else
Call RegWriteValue(sP2,0,2)
end if
Restart
End Sub
Sub Plugin_Terminate
End Sub